import axios from '@/api/fetch';
import SERVER from '@/api/server';

// 获取数据字典
export const getdictList = params => axios.get('/dms.web/part/rest/basedata/partInfos', { params });
// 维修企业注册
export const register = params => axios.post(`${SERVER.DMSCLOUD_REPAIR}/vehicleHealthRecord/register`, params);
// 维修企业查询
export const queryInformation = params => axios.get(`${SERVER.DMSCLOUD_REPAIR}/vehicleHealthRecord/query`, { params });

// 维修企业注册测试
export const selectRegister = params => axios.post(`${SERVER.DMSCLOUD_REPAIR}/vehicleHealthRecord/selectRegister`, params);
